package cn.edu.nju.askinginhand.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;
/**
 * 
 * @author ZhangZu
 *
 */
public class PictureAnswerActivity extends Activity {

	private TextView titleText = null;
	private ImageView quesImage = null;
	private EditText answerEdit = null;
	private Button submitBtn = null;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.picture_answer);
		
		titleText = (TextView)findViewById(R.id.titleText);
		quesImage = (ImageView)findViewById(R.id.quesImage);
		answerEdit = (EditText)findViewById(R.id.answerEdit);
		submitBtn = (Button)findViewById(R.id.submitBtn);
		
		initSubmitBtn();
	}
	public void initSubmitBtn() {
		submitBtn.setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				/**
				 * submit the answer
				 */
			}
		});
	}
}
